home *** CD-ROM | disk | FTP | other *** search
- property pSpr
-
- on beginSprite me
- pSpr = sprite(me.spriteNum)
- end
-
- on mouseWithin
- if inMixingMode() then
- Active = barSlotToSprite(findActiveRecipeSlot())
- thisChar = sprite(Active)
- if thisChar.member.type <> #flash then
- exit
- end if
- status = thisChar.pStatus
- if not thisChar.pRecipeID then
- setCursor(pSpr, noGood())
- else
- case status of
- #retreating, #bouncing, #serving, #ordering:
- setCursor(pSpr, noGood())
- otherwise:
- setCursor(pSpr, pointingHand())
- end case
- end if
- else
- setCursor(pSpr, noGood())
- end if
- end
-
- on mouseLeave
- setCursor(pSpr, pointingHand())
- end
-
- on endSprite
- setCursor(pSpr, defaultCursor())
- end
-